#ifndef GY30_H
#define GY30_H

/* Includes ------------------------------------------------------------------*/
#include "stm32f10x.h"
#include "i2c.h"

/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
#define BH1750_ADDR		0x23

/* Exported macro ------------------------------------------------------------*/
/* Exported variables ---------------------------------------------------------*/
extern float light_lx;

/* Exported functions ------------------------------------------------------- */
void gy30_init(void);
float gy30_get_light(void);

#endif
